package com.mzj.saas.jobs.lock.repository;

import com.mzj.saas.jobs.lock.entity.HouseLockOpenStatistics;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface HouseLockOpenStatisticsRepository extends PagingAndSortingRepository<HouseLockOpenStatistics, Long>, JpaSpecificationExecutor<HouseLockOpenStatistics> {
    HouseLockOpenStatistics findByLockId(Long lockId);

    HouseLockOpenStatistics findByLockIdAndType(Long lockId,Integer type);
}
